package indi.matcha.csmallproducttest.ex;

import lombok.Getter;

/**
 * @program: csmall-product
 * @description:
 * @author: Mr.Tang
 * @create: 2023-03-23 19:21
 **/

public class ServiceException extends RuntimeException {
    @Getter
    private Integer state;
    public ServiceException(Integer state, String message){
        super(message);
        this.state = state;
    }

}
